home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 1995 June
/
MacFormat 25.iso
/
Shareware City
/
Developers
/
fortran-to-c-translator-11
/
Mac F2C 1.1
/
Mac F2C Libraries
/
libF77 Sources
/
signal_.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-01-28
|
327b
|
20 lines
#include "f2c.h"
#ifdef KR_headers
typedef int (*sig_type)();
extern sig_type signal();
ftnint signal_(sigp, proc) integer *sigp; sig_type proc;
#else
#include "signal.h"
typedef void (*sig_type)(int);
ftnint signal_(integer *sigp, sig_type proc)
#endif
{
int sig;
sig = (int)*sigp;
return (ftnint)signal(sig, proc);
}